<script setup lang="ts">
import { RouterLink, RouterView } from "vue-router";
import HelloWorld from "./components/HelloWorld.vue";
</script>

<template>
  <header>
    <div class="wrapper">
      <nav>
        <RouterLink to="/">Home</RouterLink>
        <RouterLink to="/addkeshi">添加科室</RouterLink>
        <RouterLink to="/listkeshi">科室列表</RouterLink>
        <RouterLink to="/addyesheng">添加医生</RouterLink>
        <RouterLink to="/listyesheng">医生列表</RouterLink>
        <RouterLink to="/addbingfang">添加病房</RouterLink>
        <RouterLink to="/listbingfang">病房列表</RouterLink>
      </nav>
    </div>
  </header>

  <RouterView />
</template>

<style scoped>
a {
  margin: 0 10px;
}
</style>
